package com.ekuaitu.kuaitustaff.bean;

public class CarCheckUserIsPreOrderBean {

    /**
     * errCode : 0
     * message : 成功
     * attachment : {"status":1,"expireTime":0}
     */

    private int errCode;
    private String message;
    private AttachmentBean attachment;

    public int getErrCode() {
        return errCode;
    }

    public void setErrCode(int errCode) {
        this.errCode = errCode;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public AttachmentBean getAttachment() {
        return attachment;
    }

    public void setAttachment(AttachmentBean attachment) {
        this.attachment = attachment;
    }

    public static class AttachmentBean {
        /**
         * status : 1
         * expireTime : 0
         */

        private String status;//1无人预定，2：已有人约定；3：车辆被使用
        private long expireTime;//预定后的倒计时

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public long getExpireTime() {
            return expireTime;
        }

        public void setExpireTime(long expireTime) {
            this.expireTime = expireTime;
        }
    }
}
